
namespace ZR.Model.ProdManage.Dto
{
    /// <summary>
    /// 一级装箱明细查询对象
    /// </summary>
    public class ProdOnePackDetailQueryDto : PagerInfo
    {
        /// <summary>
        /// 一级装箱id 
        /// </summary>
        public string OnePackId { get; set; }
        /// <summary>
        /// 组织 
        /// </summary>
        public string OrgCode { get; set; }
        /// <summary>
        /// 物料 
        /// </summary>
        public string PartCode { get; set; }
        /// <summary>
        /// 装箱时间 
        /// </summary>
        public DateTime? BeginPackTime { get; set; }
        public DateTime? EndPackTime { get; set; }
    }

    /// <summary>
    /// 一级装箱明细输入输出对象
    /// </summary>
    public class ProdOnePackDetailDto
    {
        /// <summary>
        /// 明细Id 
        /// </summary>
        [Required(ErrorMessage = "明细Id不能为空")]
        public string DetailId { get; set; }

        /// <summary>
        /// 一级装箱id 
        /// </summary>
        [Required(ErrorMessage = "一级装箱id不能为空")]
        public string OnePackId { get; set; }

        /// <summary>
        /// 一级装箱-箱号
        /// </summary>
        public string OnePackNo { get; set; }

        /// <summary>
        /// 组织 
        /// </summary>
        public string OrgCode { get; set; }

        /// <summary>
        /// 物料 
        /// </summary>
        [Required(ErrorMessage = "物料不能为空")]
        public string PartCode { get; set; }

        /// <summary>
        /// 供应商 
        /// </summary>
        public string SupplierCode { get; set; }

        /// <summary>
        /// 装箱数量 
        /// </summary>
        [Required(ErrorMessage = "装箱数量不能为空")]
        public decimal? PackNum { get; set; }

        /// <summary>
        /// 装箱时间 
        /// </summary>
        public DateTime? PackTime { get; set; }

        /// <summary>
        /// 装箱人 
        /// </summary>
        public long? PackUserId { get; set; }

        /// <summary>
        /// 明细状态（0临时，1正常，9取消） 
        /// </summary>
        public string ItemStatus { get; set; }
    }


    /// <summary>
    /// 推送一级订单明细
    /// </summary>
    public class WmsOnePackDetailDto
    {
        /// <summary>
        /// 组织
        /// </summary>
        public string orgCode { get; set; }
        /// <summary>
        /// 物料
        /// </summary>
        public string partCode { get; set; }
        /// <summary>
        /// 供应商
        /// </summary>
        public string supplierCode { get; set; }
        /// <summary>
        /// 装箱数量
        /// </summary>
        public decimal? packNum { get; set; }
        /// <summary>
        /// 装箱时间
        /// </summary>
        public DateTime? packTime { get; set; }
        /// <summary>
        /// 装箱人
        /// </summary>
        public long? packUserId { get; set; }
        /// <summary>
        /// 明细状态（1正常，9取消）
        /// </summary>
        public string itemStatus { get; set; }

    }
}